package com.lelaohui.net.api;

import com.lelaohui.net.response.ResponseBean2;

import java.util.Map;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;
import retrofit2.http.QueryMap;

/**
 * Created by ZTF on 2017/3/16.
 */

public interface ServiceApi {

    @GET("/{url}")
    Call<ResponseBean2> getFormUrlEncodeNew(@Path("url") String url, @QueryMap Map<String, Object> map);
    @GET("/{url}")
    Call<ResponseBean2> postFormUrlEncodeNew(@Path("url") String url, @QueryMap Map<String, Object> map);
    @GET("/mobile/{url}")
    Call<ResponseBean2> postSerKuncunEncodeNew(@Path("url") String url, @QueryMap Map<String, Object> map);

    @GET("/mobile/{url}")
    Call<ResponseBean2> getFormUrlMobleEncodeNew(@Path("url") String url, @QueryMap Map<String, Object> map);
    @GET("/mobile/{url}")
    Call<ResponseBean2> postFormMobleEncodeNew(@Path("url") String url, @QueryMap Map<String, Object> map);
}
